package NWish.properties.object3ds
{
	import NWish.properties.Properties;

	public class LightBaseProperties extends EntityProperties
	{
		public function LightBaseProperties(parent)
		{
			super(parent);
			
			addPropertieKeys
			('LightBase'
				,
				['castsShadows'
				,'specular'
				,'diffuse'
				,'color'
				]
			);
			
			//addPropertieKeys_read('LightBase',[]);
		}
		
		override protected function index(obj)
		{
			if(obj.parent.parent == null)
				return super.index(obj) +  Properties.priorityMask;
			
			return super.index(obj);
		}
	}
}